<?php
	defined( "AZ_EXE_" ) or die ( "ERROR : CORE VARIABLE IS NOT DEFINED." );
	class Image extends Element {
		public function __construct( $attributes = array() ){
			parent::__construct( "img" , $attributes );
		}
		public function getElement(){
			$element = "<".parent::getTag()." ";
			foreach( $this->getAttrs() AS $key => $value ){
				$element .= " $key=\"$value\" " ;
			}
			$element .=" />";
			return $element ;
		} 
	}
?>